using System;
using System.Collections.Generic;
using VoiceAd.Models;

namespace VoiceAd.DAL
{
    public interface IBlockRepository : IDisposable
    {
        IEnumerable<tblBlock> GetListBlocks();
        IEnumerable<tblBlock> GetByBookingID(int lBlookingId);
        string tblBlockGetListByBookingId(int CampId, int StationId, int MonthId);
        IEnumerable<tblBlock> GetListBlockByBooking(int bookId);
        IEnumerable<tblBlock> GetListApproveByCampId(int campId);
        void ApproveBlock(int campId, int YearId, int MonthId, int bApprove);
        void tblBlockInsertMonth(int CampId, int pYear, int pMonth, string strDday);
        tblBlock GetBlockById(int id);
        int SumDayByBookingId(int lBookingId);
        void InsBlock(tblBlock tblblock);
        void UpdBlock(tblBlock tblblock);
        void DelBlock(int id);
    }
}
